//
//  StudyPageModel.m
//  TeacherNet
//
//  Created by slz on 2017/12/18.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import "StudyPageModel.h"

@implementation StudyCourseModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"allCourseNumber" : @"allNum",
             @"currentCourseNumber":@"studyNum",
             @"endTime":@"end_time",
             @"courseImage":@"img",
             @"courseName":@"name",
             @"courseNumber":@"hours",
             @"courseId":@"course_id",
             @"canStudy":@"can_study",
             @"classId":@"class_id"
             };
}
@end

@implementation StudyPageModel
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"courseList" : [StudyCourseModel class]
             };
}
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"courseList" : @"studyMobileViews",
             @"userName":@"username",
             @"userIcon":@"icon",
             @"courseCount":@"courseNum",
             @"continueDay":@"continueDay",
             @"courseHour":@"hour",
             @"courseMinute":@"minute"
             };
}
@end
